package com.gxa.community.core.pojo.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 订单信息表
 *
 * @author silver
 * @since 2022-07-19
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "OrderInfo对象")
public class OrderInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("订单号")
    private String no;

    /**
     * 订单号
     */
    private String orderNo;

    @ApiModelProperty("下单时间")
    private Long createTime;

    /**
     * 下单时间范围1
     */
    private Long startTime;

    /**
     * 下单时间范围2
     */
    private Long endTime;

    @ApiModelProperty("归属代理(团长)")
    private UserInfoVo agentInfo;

    /**
     * 团长ID
     */
    private Integer agentId;

    @ApiModelProperty("下单人信息")
    private UserInfoVo userInfo;

    /**
     * 购买人ID
     */
    private Integer buyerId;

    /**
     * 下单人名称
     */
    private String nick;

    @ApiModelProperty("收货人名称")
    private String receiverName;

    @ApiModelProperty("收货人电话")
    private String receiverPhone;

    @ApiModelProperty("优惠券id(一次消费满100-10)")
    private Integer couponId;

    @ApiModelProperty("订单金额")
    private Double price;

    @ApiModelProperty("实付金额")
    private Double payment;

    @ApiModelProperty("订单类型")
    private Integer type;

    @ApiModelProperty("运单号 (多个订单被对应一个运单)")
    private String waybillNo;

    @ApiModelProperty("订单状态 	1待付款 2待取货 3已完成 0已取消")
    private Integer status;

    @ApiModelProperty("手机号")
    private String phone;

}
